//
//  CSWebViewController.h
//  ChinaShip
//
//  Created by Yale on 2019/1/29.
//  Copyright © 2019年 ChinaShip. All rights reserved.
//

#import "CSBaseViewController.h"
@protocol CSWebViewDelegate <NSObject>

- (BOOL)BHwebView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
- (void)BHwebViewDidStartLoad:(UIWebView *)webView;
- (void)BHwebViewDidFinishLoad:(UIWebView *)webView;
- (void)BHwebView:(UIWebView *)webView didFailLoadWithError:(NSError *)error;

@end
@interface CSWebViewController : CSBaseViewController

@property (nonatomic,assign)BOOL isLoan;

@property (nonatomic,copy) NSString *urlString;

@property (nonatomic,strong) UIWebView *webView;

@property (nonatomic,weak) id<CSWebViewDelegate> delegate;
- (void)clickBackToLastVC;
- (void)webViewLoadWithURL:(NSURL *)url;

@end
